package cd.cdyb.sms.service;

import cd.cdyb.sms.dto.MessageCarrier;
import cd.cdyb.sms.exception.BusinessException;

public interface MessageService {

    /**
     * 不带参发送短信
     *
     * @param messageCarrier 短信信息
     */
    void sendMessage(MessageCarrier messageCarrier) throws BusinessException;

    /**
     * 带参发送短信
     *
     * @param messageCarrier 短信信息
     */
    void sendMessageWithParam(MessageCarrier messageCarrier) throws BusinessException;


}
